<?php

namespace app\command;

use app\api\controller\DulizhanPackage;
use think\console\Input;
use think\console\Output;
use think\console\Command;
class DulizhanCommand extends Command
{
    protected function configure()
    {
        $this->setName('webDulizhan')
            ->setDescription('webDulizhan');
    }

    protected function execute(Input $input, Output $output)
    {
        //整理货号跟件数
        // (new DulizhanPackage())->AddSKUDetails();

        //整理订单是否被结算
        // (new DulizhanPackage())->HasTheOrderBeenSettled();

        //整理订单是否匹配到运营跟渠道
        // (new DulizhanPackage())->MatchingToOperationsAndChannels();

        //修改客户订阅状态
        // (new DulizhanPackage())->update_customer_status();

        //查找订单相关信息
        // (new DulizhanPackage())->SearchForOrderRelatedInformation();

        //运营标签同步到系统
        // (new DulizhanPackage())->SynchronizeOperationTagsToTheSystem();

        //shopify交易记录
        (new DulizhanPackage())->ShopifyTransactionRecords();
    }

}